package com.myweb.entity.sys;

import java.util.Date;

import com.myweb.entity.common.BaseEntity;

/**
 * SysRole entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class SysRole extends BaseEntity implements java.io.Serializable {

	// Fields

	private Integer roleId;
	private String roleName;
	private Integer creator;
	private Date creatorTime;
	private Integer roleSts;

	// Constructors

	/** default constructor */
	public SysRole() {
	}

	/** minimal constructor */
	public SysRole(String roleName) {
		this.roleName = roleName;
	}

	/** full constructor */
	public SysRole(String roleName, Integer creator, Date creatorTime,
			Integer roleSts) {
		this.roleName = roleName;
		this.creator = creator;
		this.creatorTime = creatorTime;
		this.roleSts = roleSts;
	}

	// Property accessors

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getCreator() {
		return this.creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public Date getCreatorTime() {
		return this.creatorTime;
	}

	public void setCreatorTime(Date creatorTime) {
		this.creatorTime = creatorTime;
	}

	public Integer getRoleSts() {
		return this.roleSts;
	}

	public void setRoleSts(Integer roleSts) {
		this.roleSts = roleSts;
	}

}